const modulesFiles = import.meta.globEager('./*.vue');
const components = Object.keys(modulesFiles).filter((_) => _);

const install = (app) => {
  components.forEach((key) => {
    const component = modulesFiles[key].default;
    app.component(component.name, component);
  });
};

export default {
  install,
};
